home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / utils / hdk115l / vwrlib.hdf < prev    next >
Text File  |  1994-04-12  |  5KB  |  75 lines

  1. ;******************************************************************************
  2. ; Ver 11.0, Last Update Nov 24, 1993                                          *
  3. ;                                   vwrLIb                                    *
  4. ; this library adds functionality to HLPDK V10.0+, and adds special functions *
  5. ; to the multimedia viewer 2.0 target.                                        *
  6. ;                                                                             *
  7. ; The following added functionality is added :                                *
  8. ;                                                                             *
  9. ; 256 color bitmap support, not available with the standard \{bmX \} graphics *
  10. ; defined with the standard graphic links of HLPDK 10.0                       *
  11. ;******************************************************************************
  12. .ifdef mmviewer
  13.  
  14. ;******************************************************************************
  15. ;                                   bmp256                                    *
  16. ; insert the embedded file specified in %1, the Ebmp256 is a better function  *
  17. ; e.g. ~bitmap~bmp256(256color.bmp)~                                          *
  18. ; (where 256color.bmp was declared as a .EMBEDD object ..                     *
  19. ;******************************************************************************
  20. .userlink bmp256 '\{ewc MVBMP2, ViewerBmp2, !%1\}'
  21.  
  22. ;******************************************************************************
  23. ;                                 bmp256Left                                  *
  24. ; insert a 256 color bitmap, and align to the left of the paragraph. The      *
  25. ; parameter to the bitmap is not the complete path to the bitmap!             *
  26. ; e.g. ~bitmap~bmp256Left(256color.bmp)~                                      *
  27. ;******************************************************************************
  28. .userlink bmp256Left '\{ewl MVBMP2, ViewerBmp2, !%1\}'
  29.  
  30. ;******************************************************************************
  31. ;                                 bmp256Right                                 *
  32. ; insert a 256 color bitmap, and align to the right of the paragraph. The     *
  33. ; parameter to the bitmap is not the complete path to the bitmap!             *
  34. ; e.g. ~bitmap~bmp256Right(256color.bmp)~                                     *
  35. ;******************************************************************************
  36. .userlink bmp256Right '\{ewr MVBMP2, ViewerBmp2, !%1\}'
  37.  
  38. ;******************************************************************************
  39. ;                                   Gbmp256                                   *
  40. ; Same as bmp256, but the graphic is the id of the graphic defined in a       *
  41. ; .GRAPHIC statement.                                                         *
  42. ; e.g. :                                                                      *
  43. ; .graphic mypicture pic256.bmp                                               *
  44. ;  .. ~Bitmap~Gbmp256(mypicture)~ ..                                          *
  45. ;                                                                             *
  46. ;******************************************************************************
  47. .userlink Gbmp256 '\{ewc MVBMP2, ViewerBmp2, !%g1\}'
  48.  
  49. ;******************************************************************************
  50. ;                                 Gbmp256Left                                 *
  51. ; same as Gbmp256, but aligns to the left of the paragraph                    *
  52. ;******************************************************************************
  53. .userlink Gbmp256Left '\{ewl MVBMP2, ViewerBmp2, !%g1\}'
  54.  
  55. ;******************************************************************************
  56. ;                                Gbmp256Right                                 *
  57. ; Same as Gbmp256, but aligns bitmap to the right of the paragraph            *
  58. ;******************************************************************************
  59. .userlink Gbmp256Right '\{ewr MVBMP2, ViewerBmp2, !%g1\}'
  60.  
  61. ;******************************************************************************
  62. ;                                   Ebmp256                                   *
  63. ;                                 Ebmp256Left                                 *
  64. ;                                Ebmp256Right                                 *
  65. ; these are the recommended viewer links, these viewer commands must be       *
  66. ; executed on embedded bitmaps.                                               *
  67. ; remmember to .EMBEDD mygraphic mygraphic.bmp before !                       *
  68. ;******************************************************************************
  69. .userlink Ebmp256 '\{ewc MVBMP2, ViewerBmp2, !%e1\}'
  70. .userlink Ebmp256Left '\{ewl MVBMP2, ViewerBmp2, !%e1\}'
  71. .userlink Ebmp256Right '\{ewr MVBMP2, ViewerBmp2, !%e1\}'
  72.  
  73. .endif
  74.  
  75.